<template>
  <div class="not-found">
    <el-button type="primary" class="btn" size="large" @click="router.push('/home')">返回首页</el-button>
  </div>
</template>

<style scoped>
.not-found {
  width: 100%;
  height: 100vh;
  background-image: url('@/assets/images/notFound.png');
  background-repeat: no-repeat;
  background-position: 30%;
  background-size: 40%;

  .btn {
    position: absolute;
    top: 50%;
    left: 60%;
  }
}
</style>
<script setup lang="ts">
import router from "@/router/index.js";
</script>
